<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html dir="<?php echo $direction; ?>" lang="<?php echo $code; ?>">
<head>
<title><?php echo $title; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $charset; ?>">
<base href="<?php echo $base; ?>">
<link rel="stylesheet" type="text/css" href="template/default/css/default.css">
<link rel="stylesheet" type="text/css" href="template/default/css/noticias.css">


<script type="text/javascript">
    var GB_ROOT_DIR = "http://localhost/mcga/javascript/greybox/";
</script>

</head>
<body>
<?php if (isset($header)) { ?>
<div id="header" style="width:100%;height:10%;"><?php echo $header; ?></div>
<?php } ?>
<?php 
	if (@$_REQUEST['action'] == '')
	{
		if (isset($menu)) 
			{
			 echo $menu;
			}
	} ?>
<?php if (isset($content)) { ?>
<div id="wrapper" style="height:500px;">
<div id="contenido">
<div style="width:100%;height:100%;"><?php echo $content; ?></div>
</div>
    </div>
<?php } ?>
<?php if (isset($footer)) { ?>
<div id="footer" style="width:100%;height:10%;"><?php echo $footer; ?></div>
<?php } ?>
</body>
</html>